package com.baike.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author libin
 * @since 2021-11-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_student_discounts")
@ApiModel(value="TbStudentDiscounts对象", description="")
public class TbStudentDiscounts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户优惠卷关联id")
    @TableId(value = "tb_student_discounts", type = IdType.AUTO)
    private Integer tbStudentDiscounts;

    @ApiModelProperty(value = "学生id")
    private Integer studentId;

    @ApiModelProperty(value = "优惠卷id")
    private Integer discountsId;

    @ApiModelProperty(value = "数量")
    private Integer count;


}
